package mapper;

import entity.CategoryAttributes;

import java.util.List;

public interface CategoryAttributesMapper {
    int deleteByPrimaryKey(Integer category_attributes_id);

    int insert(CategoryAttributes record);

    int insertSelective(CategoryAttributes record);

    CategoryAttributes selectByPrimaryKey(Integer category_attributes_id);

    int updateByPrimaryKeySelective(CategoryAttributes record);

    int updateByPrimaryKey(CategoryAttributes record);

    int getAllAttribute(Long parent_id);

    List<Integer> queryByCategory_id(Long parent_id);

    int deleteByAttribute_id(Integer attribute_id);
}